package com.siwei.mes.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chenmaolin
 * @version 1.0
 * @date 2022/9/17
 * @Description 登录vo
 */
@Data
public class LoginVo {
    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号为空")
    private String userPhone;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "登录端  PC/APP")
    @NotBlank(message = "登录端不能为空")
    private String device;
}
